﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRest.Core
{
    /// <summary>
    /// Class that implements IHttpResponseMessage which the internal core assembly uses to model the REST response.
    /// </summary>
    public class HttpResponseMessage : IHttpResponseMessage
    {
        public HttpResponseMessage()
        {
            this.ResponseHeaders = new List<Header>();
        }
        
        /// <summary>
        /// Output content for the associated REST response.
        /// </summary>
        public object Content { get; set; }
        /// <summary>
        /// Status code for the associated REST response.
        /// </summary>
        public System.Net.HttpStatusCode StatusCode { get; set; }
        /// <summary>
        /// Response headers for the associated REST response.
        /// </summary>
        public List<Header> ResponseHeaders { get; set; }
    }
}
